package com.home.zqt.platform.common;

import com.home.zqt.platform.domain.MJEnvironmentEnum;

import java.util.List;

/**
 * @author soon
 * @description: TODO
 * @date 2019-06-27 22:44
 **/
public class EnvHelper {

    public static boolean isProduct(List<MJEnvironmentEnum> envList) {
        return envList.contains(MJEnvironmentEnum.PRODUCT);
    }
    public static boolean isPrepare(List<MJEnvironmentEnum> envList) {
        return envList.contains(MJEnvironmentEnum.PREPARE);
    }
    public static boolean isDaily(List<MJEnvironmentEnum> envList) {
        return envList.contains(MJEnvironmentEnum.DAILY);
    }
}
